package com.ruoyi.map.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.map.domain.AdviceFeedback;
import org.apache.ibatis.annotations.Select;

/**
 * 用户意见反馈Mapper接口
 *
 * @author dihang
 * @date 2023-08-14
 */
public interface AdviceFeedbackMapper extends BaseMapper<AdviceFeedback>
{
    /**
     * 查询用户意见反馈列表
     *
     * @param adviceFeedback 用户意见反馈
     * @return 用户意见反馈集合
     */
    public List<AdviceFeedback> selectAdviceFeedbackLists(AdviceFeedback adviceFeedback);

    @Select("select id, user_id, name, age, phone, gender, feedback_type, feedback_content, feedback_satisfaction_evaluation, create_by, update_by, create_time, update_time, remark from advice_feedback where id=#{id}")
    public AdviceFeedback selectId(Long id);

}
